Valid for Sitecore
5.2, 5.1.1
SetWorkflowInfo
SetWorkflowInfo updates the item’s workflow ID and current state. The method returns True if the operation was successful, False otherwise.
bool SetWorkflowInfo(
ItemDefinition item,
VersionUri version,
WorkflowInfo info,
CallContext context
)